<div id="sub_nav">您的位置 ： <a href="/psysource/home_page/index">首页</a> >> 管理员登录 </div>
<div id="service_main">
	<div id="adminLogin" style="margin-left:150px;margin-top:50px;">
   <div>
      <p style="color: green"><%= flash[:notice] %></p>
      <p style="color: red"><%= flash[:error_notice]%></p>
          <form id="login_form" action="c_admin_login" method="post">
          <%= tag(:input, :type => "hidden", :name => request_forgery_protection_token.to_s,
                                 :value => form_authenticity_token) %>
          	<div >
            用户名：<input type="text" id="text" name="username"/><br/><br/>
            密　码：<input type="password" id="text" name="password"/><br/><br />
              <!--
              <div style="display:none"><=show_simple_captcha  %></div>
              验证码：<= @simple_captcha_options[:field] %>
              <div style="margin-left:80px"><= @simple_captcha_options[:image] %></div>
              &nbsp;&nbsp;&nbsp;&nbsp;请输入图片中的字母(点此刷新)

              -->
            </div>
            <div class="anniu" style="margin-left:50px">
            <a href="#" onclick="sm();"><img src="/images/login/denglu_03.jpg" width="75" height="24" /></a>
            </div>

          </form>
        </div>
</div>


<script>
 function sm(){
 var f= document.getElementById("login_form");
  f.submit();
 }
</script>

